home *** CD-ROM | disk | FTP | other *** search
- // winheader.cpp
- //
- // Copyright (©) 2000 REAL Software, Inc.
- //
- // This file defines functions needed for Win32 REALbasic plugins.
- // This file should be included in your Windows (x86) target.
- // Remember to set your prefix file to winheader.h.
-
- #ifndef WINHEADER_H
- #warning Set your prefix file to "winheader.h"
- #endif
-
- /* ...maybe the following stuff is no longer needed;
- seems to be defined in QTML.
-
- Boolean PtInRect(const Point &pt, Rect *rBounds)
- {
- if (pt.h >= rBounds->left && pt.h < rBounds->right && pt.v >= rBounds->top
- && pt.v < rBounds->bottom)
- return true;
- return false;
- }
-
- void Debugger(void)
- {
- _asm int 3
- }
-
- Ptr NewPtrClear(long size)
- {
- Ptr p = (Ptr) malloc(size);
- if (!p)
- return nil;
- memset(p, 0, size);
- return p;
- }
-
- */
-